package com.clqteam.serviceimpl;

import com.clqteam.dao.DeleteSupplierDao;
import com.clqteam.daoimpl.DeleteSupplierDaoImpl;
import com.clqteam.service.DeleteSupplierService;

public class DeleteSupplierServiceImpl implements DeleteSupplierService{
	//创建Dao层的对象，父类引用子类对象
	DeleteSupplierDao dsd=new DeleteSupplierDaoImpl();
	/**通过供应商的supId删除供应商的信息
	 * 
	 * @param supId 供应商的id
	 * @return boolean
	 */
	@Override
	public boolean deleteSupplierBySupId(int supId) {
		// TODO Auto-generated method stub
		return dsd.deleteSupplierDaoBySupId(supId);
	}

}
